import { PageView } from '@/layouts';

export default {
	path: '/control_center',
	redirect: '/control_center/control_center',
	component: PageView,
	meta: {
		title: '控制中心',
		icon: 'dashboard',
		permission: [ 'controlCenter' ]
	},
	children: [{
			path: '/control_center/MapDisplay',
			name: 'MapForm',
			component: () => import('@/views/control/MapDisplay'),
			meta: {
				title: '地图展示',
				permission: [ 'Map_list' ]
			},
		},
		{
			path: '/control_center/list',
			name: 'ListForm',
			component: () => import('@/views/control/List'),
			meta: {
				title: '列表展示',
				permission: [ 'control_briefing' ]
			},
		},
	]
};
